import Vue from 'vue'
import App from './App'
import config from './config'
import api from './api'
import Message from './components/message'
import Modal from './components/modal'
import store from './store'

Vue.config.productionTip = false

App.mpType = 'app'

Vue.prototype.$api = api
Vue.prototype.$globalConfig = config
Vue.prototype.$Message = Message
Vue.prototype.$Modal = Modal
Vue.prototype.$store = store;

const app = new Vue({
    ...App
})
app.$mount()
